package com.mapper;

import com.entity.User;
import com.exception.ServiceException;
import com.github.pagehelper.PageInfo;
import com.vo.PageVo;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface LoginMapper {
    //前台
    List<User> loginByNameAndPassword(@Param("login_name")String login_name, @Param("password")String password);
    int updateUser(User u);
    void upLoginDate(@Param("login_name")String login_name);
     //后台
    User selUserBy(User user);//管理员登录

}
